package device;

/**
 * @author Stefano&Davide
 * @version 1.0
 */

public class OdometerThreadNotify extends Thread {
	
	OdometerNoDisplay odometer = null;
	
	public OdometerThreadNotify(OdometerNoDisplay odometer) {
		this.odometer = odometer;
	}
	
	@Override
	public void run() {
		odometer.notifyObservers(); // Al termine invoca automaticamente la clearChanged()
	}
	
}

